The following will describe reversal entry conditions for BUY and the signal is taken from H1 (opposite for sell):
Source code required.

Condition1:
MA1(24) is applied to RSI(666)
MA1(24)<RSI(666)

Condition2:
MA2(24) is applied to Stoch(200)
MA2(24)< Stoch(200)<Stoch(120)<Stoch(60)<Stoch(5)

Condition3:
Price is below MA3

Condition4:
Price is <= XXX% ADR (this is an input parameter). Number of days to calculate ADR is an input parameter.

Entry immediately when all 4 conditions are met. 
SL YYY pips (input parameter)
TP ZZZ pips (input parameter)


Inputs:
All indicators settings
TP
SL
ADR% for condition4 and number of days to calculate ADR


Output:
Total number of trades/ total wins /total losses
Win%



